//
//  ChooseView.h
//  TableViewDM
//
//  Created by mac on 2017/1/3.
//  Copyright © 2017年 G. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ChooseView : UIView

@property (nonatomic, assign) NSInteger timeIndex;//传进来当前选择的选择时间

@property (nonatomic, assign) NSInteger indexIndex;//传进来当前选择的指标

@property (nonatomic, strong) void(^chooseBlock)(NSInteger timeIndex, NSString *beginTime, NSString *endTime, NSInteger indexIndex, NSString *monthBeginTime, NSString *monthEndTime, NSString *yearStr, NSString *which);

@property (nonatomic, strong) void(^chooseViewBlock)(NSString *string);

- (id)initWithFrame:(CGRect)frame
          timeArray:(NSMutableArray *)timeArray
          timeIndex:(NSInteger)timeIndex
          beginTime:(NSString *)beginTime
            endTime:(NSString *)endTime
         indexArray:(NSMutableArray *)indexArray
         indexIndex:(NSInteger)indexIndex
     mouthBeginTime:(NSString *)mouthBeginTime
      mouthEndTime:(NSString *)mouthEndTime
           yearStr:(NSString *)yearStr;


@end
